package com.tuliyou.service;

import com.tuliyou.common.util.Result;
import com.tuliyou.dto.MajorDTO;
import com.tuliyou.dto.PageInfo;

public interface MajorService {
    Result<PageInfo<MajorDTO>> getMajors(Integer page, Integer size, String majorName,
                                         String parentCode, String level,
                                         String degreeType, String years);

    Result<MajorDTO> getMajorDetail(String majorCode);
}
